#ifndef TICUP_H
#define TICUP_H
#include "stm32f4xx_hal.h"

typedef struct N_State
{
    uint8_t N_Fan_ZF;
    uint8_t N_Fan_Time;
    float N_Fan_Power;
}N_State;

extern uint32_t Fan_Open_Time;
extern uint8_t Fan_Open_Time_Flag;
extern uint8_t Fan_Flag;
extern uint8_t Fan_Power_Flag;
extern uint8_t N_Flag;
extern float Fan_Power;

extern N_State N1;
extern N_State N2;


void Fun1();
void Fun2();
void Fun3();
void Fun1A();
void Fun1B();
void Fan2B();
void Set_Fan_V(float vet);
void Set_Fan_Sat(uint8_t sat);


#endif //TICUP_H
